<?php
$this->breadcrumbs=array(
	'會員列表'=>array('index'),
	'會員詳情',
);
Yii::app()->clientScript->registerCssFile(Yii::app()->baseUrl . '/css/styles.css');
?>
<table class="detail-view">
	<tbody>
		<tr class="odd">
			<td width="16%">UID</td>
			<td width="34%">
				<?= $model->uid ?>
			</td>
			<td width="16%">帳號</td>
			<td>
				<?= $model->username ?>
			</td>
		</tr>
		<tr class="even">
			<td>姓名</td>
			<td>
				<?= $model->realname ?>
			</td>
			<td>昵稱</td>
			<td>
				<?= $model->nickname ?>
			</td>
		</tr>		
		<tr class="odd">
            <td>性別</td>
            <td><?=Yii::app()->params['sex'][$model->sex]?></td>
            <td>血型</td>
            <td><?=Yii::app()->params['blood'][$model->blood]?></td>
        </tr>		
		<tr class="even">
			<td>身份證號</td>
			<td>
				<?= $model->idcard ?>
			</td>
			<td>生日</td>
			<td>
				<?= $model->birthday ?>
			</td>
		</tr>
		<tr class="odd">
            <td>E-mail</td>
            <td><?= $model->email ?></td>
            <td>E-mail驗證狀態</td>
			<td><?=Yii::app()->params['userverity'][$model->email_status]?></td>
        </tr>
		<tr class="even">
			<td>手機</td>
			<td>
				<?= $model->mobile ?>
			</td>
			<td>郵政編碼</td>
			<td>
				<?= $model->postcode ?>
			</td>
		</tr>
		<tr class="odd">
            <td>通訊地址</td>
            <td colspan="3"><?= $model->address ?></td>            
        </tr>		
		<tr class="even">
			<td>薪資</td>
			<td><?= Yii::app()->params['salary'][$model->salary] ?></td>
			<td>教育程度</td>
			<td><?= Yii::app()->params['education'][$model->education] ?></td>
		</tr>
		<tr class="odd">
            <td>鴻運點數</td>
            <td><?= $model->hongyun ?></td>
            <td>鴻運點數過期時間</td>
            <td><?= $model->hy_expiry ?></td>
        </tr>
		<tr class="even">
			<td>購物金</td>
			<td>
				<?= $model->coin ?>
			</td>
			<td>購物金過期時間</td>
			<td>
				<?= $model->coin_expiry ?>
			</td>
		</tr>
		<tr class="odd">
            <td>婚姻</td>
            <td><?= Yii::app()->params['marital'][$model->marital] ?></td>
            <td>職業</td>
			<td><?= Yii::app()->params['occupation'][$model->occupation] ?></td>
        </tr>
		<tr class="even">
            <td>創建時間</td>
            <td><?= $model->dateline ?></td>
            <td>更新時間</td>
            <td><?= $model->updated ?></td>
        </tr>
	</tbody>
</table>